Start a conversation

Cleaning all faulty volumes from the CMDB

Overview:

After the failed storage ISCSI connections have been removed from all the cache engines, clean all volumes from the cmbd

Step by step guide:

  1. From the Management server, login to pang-cli, enter to enable mode in the CLI.
  2. Using PANG-CLI, enter the command show volumes 
     console# show volumes 
    Lincensed volumes : 7
    Volume name State
    /mnt/vol1 not mounted
    /mnt/vol2 not mounted
    /mnt/vol3 not mounted
    /mnt/vol4 not mounted
    /mnt/vol5 not mounted
    /mnt/vol6 inactive
    /mnt/vol7 inactive
  3. For each volume that has inactive status, perform the following command, using CLI: cache volume remove_content, it will ask you for the number of the inactive volumes, after typing it, it will ask you if you are sure, type yes, for example:
    console# cache volume remove_content 
    Licensed volumes: 7
    Please enter volume number <1-7>
    6
    Are you sure? This will remove all hashes from volume 6.
    [yes|no] no: yes
    Removing all the content from volume 6...
    . . .
    Licensed volumes: 7
    Please enter volume number <1-7>
    7
    Are you sure? This will remove all hashes from volume 7.
    [yes|no] no: yes
    Removing all the content from volume 7...

Other Method 

1. Login to the Management server, From the linux shell, Use as below

To remove volume from cmdb

/opt/pang/bin/cmdbutils_rt -I lo -e "volume-number"
example: /opt/pang/bin/cmdbutils_rt -I lo -e 6

 

addition:

To insert volume to cmdb

/opt/pang/bin/cmdbutils_rt -I lo -b "volume-number"
example: /opt/pang/bin/cmdbutils_rt -I lo -b 6

 

  Confirmation:

If you repeat step 2 (show volumes command), you will not see any inactive anymore.

Related Article:

REMOVING FAILED STORAGE ISCSI CONNECTIONS FROM THE CACHE ENGINES.

Content Author:

Erick Tovar

Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Priyanka Bhotika

  2. Posted
  3. Updated

Comments